﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JSShop.Model
{

    [Serializable]
    public partial class vw_MembersGrade
    {
        public vw_MembersGrade()
        { }
        #region Model
        private int _userid;
        private int _gradeid;
        private int? _referraluserid;
        private bool _isopenbalance = false;
        private string _tradepassword;
        private string _tradepasswordsalt;
        private int _tradepasswordformat;
        private int _ordernumber = 0;
        private decimal _expenditure = 0M;
        private int _points = 0;
        private decimal _balance = 0M;
        private decimal _requestbalance = 0M;
        private int? _topregionid;
        private int? _regionid;
        private string _realname;
        private string _address;
        private string _zipcode;
        private string _telphone;
        private string _cellphone;
        private string _qq;
        private string _wangwang;
        private string _msn;
        private string _vipcardnumber;
        private DateTime? _vipcarddate;
        private string _openid;
        private string _sessionid;
        private DateTime? _sessionendtime;
        private int? _iswed;
        private string _monthlyincome;
        private string _lovecategory;

        private string _GradeName;
        private string _username;
        private string _email;
        private string _RowNumber;

        /// <summary>
        /// 
        /// </summary>
        public int UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int GradeId
        {
            set { _gradeid = value; }
            get { return _gradeid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? ReferralUserId
        {
            set { _referraluserid = value; }
            get { return _referraluserid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool IsOpenBalance
        {
            set { _isopenbalance = value; }
            get { return _isopenbalance; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string TradePassword
        {
            set { _tradepassword = value; }
            get { return _tradepassword; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string TradePasswordSalt
        {
            set { _tradepasswordsalt = value; }
            get { return _tradepasswordsalt; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int TradePasswordFormat
        {
            set { _tradepasswordformat = value; }
            get { return _tradepasswordformat; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int OrderNumber
        {
            set { _ordernumber = value; }
            get { return _ordernumber; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal Expenditure
        {
            set { _expenditure = value; }
            get { return _expenditure; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int Points
        {
            set { _points = value; }
            get { return _points; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal Balance
        {
            set { _balance = value; }
            get { return _balance; }
        }
        /// <summary>
        /// 
        /// </summary>
        public decimal RequestBalance
        {
            set { _requestbalance = value; }
            get { return _requestbalance; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? TopRegionId
        {
            set { _topregionid = value; }
            get { return _topregionid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? RegionId
        {
            set { _regionid = value; }
            get { return _regionid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string RealName
        {
            set { _realname = value; }
            get { return _realname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Address
        {
            set { _address = value; }
            get { return _address; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Zipcode
        {
            set { _zipcode = value; }
            get { return _zipcode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string TelPhone
        {
            set { _telphone = value; }
            get { return _telphone; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CellPhone
        {
            set { _cellphone = value; }
            get { return _cellphone; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string QQ
        {
            set { _qq = value; }
            get { return _qq; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Wangwang
        {
            set { _wangwang = value; }
            get { return _wangwang; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string MSN
        {
            set { _msn = value; }
            get { return _msn; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string VipCardNumber
        {
            set { _vipcardnumber = value; }
            get { return _vipcardnumber; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? VipCardDate
        {
            set { _vipcarddate = value; }
            get { return _vipcarddate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string OpenId
        {
            set { _openid = value; }
            get { return _openid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string SessionId
        {
            set { _sessionid = value; }
            get { return _sessionid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? SessionEndTime
        {
            set { _sessionendtime = value; }
            get { return _sessionendtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? IsWed
        {
            set { _iswed = value; }
            get { return _iswed; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string MonthlyIncome
        {
            set { _monthlyincome = value; }
            get { return _monthlyincome; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string LoveCategory
        {
            set { _lovecategory = value; }
            get { return _lovecategory; }
        }

        /// <summary>
        /// 
        /// </summary>
        public string GradeName
        {
            set { _GradeName = value; }
            get { return _GradeName; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string username
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string email
        {
            set { _email = value; }
            get { return _email; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string RowNumber
        {
            set { _RowNumber = value; }
            get { return _RowNumber; }
        }
        #endregion Model
    }
}
